import auth from '../controllers/user.js';
import koa_router from 'koa-router';
const router = koa_router();

router.get('/users/:id', auth.getUserInfo); 
router.post('/user', auth.postUserAuth);
router.post('/users', auth.postUser);

export default router;
